package com.nanjia.boot.warehouse.storagelocation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nanjia.boot.warehouse.storagelocation.model.entity.WarehouseStorageLocation;
import com.nanjia.boot.warehouse.storagelocation.model.query.WarehouseStorageLocationQuery;
import com.nanjia.boot.warehouse.storagelocation.model.vo.WarehouseStorageLocationVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 仓库库位Mapper接口
 *
 * @author 周洋
 * @since 2025-08-22 09:39
 */
@Mapper
public interface WarehouseStorageLocationMapper extends BaseMapper<WarehouseStorageLocation> {

    /**
     * 获取仓库库位分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<WarehouseStorageLocationVO>} 仓库库位分页列表
     */
    Page<WarehouseStorageLocationVO> getWarehouseStorageLocationPage(Page<WarehouseStorageLocationVO> page, WarehouseStorageLocationQuery queryParams);

}
